home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / SciAn / src / ScianRecorders.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  1KB  |  64 lines

  1. /*ScianRecorder.h
  2.   Public stuff for ScianRecorder.c
  3.   Eric Pepke
  4. */
  5.  
  6. extern ObjPtr commRecorderClass;
  7.  
  8. /*Baud rates*/
  9. #define RB_300        0
  10. #define RB_1200        1
  11. #define RB_2400        2
  12. #define RB_4800        3
  13. #define RB_9600        4
  14. #define RB_19200    5
  15.  
  16. /*Frame sources*/
  17. #define FS_VIDEO    0
  18. #define FS_WINDOW    1
  19. #define FS_SCREEN    2
  20.  
  21. /*Frame bits*/
  22. #define FB_VIDEO    1
  23. #define FB_WINDOW    2
  24. #define FB_SCREEN    4
  25.  
  26. extern Bool recordEnabled;
  27. extern ObjPtr curRecorder;
  28.  
  29. #ifdef PROTO
  30. void InitRecorders(void);
  31. void KillRecorders(void);
  32. Bool ConnectRecorder(void);
  33. Bool PrepareToRecord(int);
  34. void DisconnectRecorder(void);
  35. Bool StopRecording(void);
  36. Bool SetRecorder(char *);
  37. void SetFPS(real);
  38. void SetScreenSize(int, int);
  39. void GetScreenSize(int *, int *);
  40. ObjPtr NewRecorder(ObjPtr, char *, char *);
  41. void RegisterRecorder(ObjPtr);
  42. WinInfoPtr AnimationControlsWindow(void);
  43. WinInfoPtr RecorderDriversWindow(void);
  44. Bool AdjustToVisWindows(ObjPtr);
  45. Bool AdjustToCurWindow(ObjPtr);
  46. #else
  47. Bool ConnectRecorder();
  48. Bool PrepareToRecord();
  49. void DisconnectRecorder();
  50. void InitRecorders();
  51. void KillRecorders();
  52. Bool StopRecording(); 
  53. Bool SetRecorder();
  54. void SetFPS();
  55. void SetScreenSize();
  56. void GetScreenSize();
  57. ObjPtr NewRecorder();
  58. void RegisterRecorder();
  59. WinInfoPtr AnimationControlsWindow();
  60. WinInfoPtr RecorderDriversWindow();
  61. Bool AdjustToVisWindows();
  62. Bool AdjustToCurWindow(ObjPtr);
  63. #endif
  64.